namespace VegetableSale.NET.Entities;

public class RefundAddQuery
{
    private int id;
    private int commid;
    private int skid;
    private int skmoney;
    private int sknumber;
    private string skdate;
    private string totalprice;
    private int rfnumber;
    private string remark;

    public int Id
    {
        get => id;
        set => id = value;
    }

    public int Commid
    {
        get => commid;
        set => commid = value;
    }

    public int Skid
    {
        get => skid;
        set => skid = value;
    }

    public int Skmoney
    {
        get => skmoney;
        set => skmoney = value;
    }

    public int Sknumber
    {
        get => sknumber;
        set => sknumber = value;
    }

    public string Skdate
    {
        get => skdate;
        set => skdate = value ?? throw new ArgumentNullException(nameof(value));
    }

    public string Totalprice
    {
        get => totalprice;
        set => totalprice = value ?? throw new ArgumentNullException(nameof(value));
    }

    public int Rfnumber
    {
        get => rfnumber;
        set => rfnumber = value;
    }

    public string Remark
    {
        get => remark;
        set => remark = value ?? throw new ArgumentNullException(nameof(value));
    }

    public RefundAddQuery(int id, int commid, int skid, int skmoney, int sknumber, string skdate, string totalprice, int rfnumber, string remark)
    {
        this.id = id;
        this.commid = commid;
        this.skid = skid;
        this.skmoney = skmoney;
        this.sknumber = sknumber;
        this.skdate = skdate;
        this.totalprice = totalprice;
        this.rfnumber = rfnumber;
        this.remark = remark;
    }

    
}